#pragma once

#include "xftp_task.h"
#include <string>

class XFtpList: public XFtpTask {
public:
    XFtpList();
    ~XFtpList();
	virtual void Parse(std::string type, std::string msg) override;
	virtual void Write(struct bufferevent *bev) override;
	virtual void Event(struct bufferevent *bev, short what) override;
protected:
    std::string GetListData(std::string path);
};

